package com.moodincode.taskcenter;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.quartz.QuartzJobBean;

import javax.annotation.Resource;

public class Test3 {
    @Value("${test.data}")
    private String testData;
    @Resource
    private ITestService testService;
    public void hello()  {
        System.out.println("hello Test3======="+testData);
        testService.hello();
    }
}
